class FriendHome extends Scene implements  eui.UIComponent {

    protected onComplete() {
    	this.goHome.touchEnabled = true;
    	this.goHome.addEventListener(egret.TouchEvent.TOUCH_TAP,this.onGoHome,this);
    }

    private onGoHome(event:egret.TouchEvent):void{
    	let h:home = new home();
    	SceneManager.Instance.changeScene(h);
	}

    public goHome: eui.Button;
	public constructor() {
		super();
	}

	protected partAdded(partName:string,instance:any):void
	{
		super.partAdded(partName,instance);
	}


	protected childrenCreated():void
	{
		super.childrenCreated();
	}
	
}